﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using System.Reflection.Emit;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using DesignPattern.binaryHeap;
using DesignPattern.com.bridge.demo;
using DesignPattern.com.mediator;
using DesignPattern.com.observer;
using DesignPattern.com.singleton;
using DesignPattern.com.state;
using DesignPattern.com.state.scene;
using DesignPattern.com.strategy.demo;
using DesignPattern.hardWare;
using DesignPattern.mdFive;
using DesignPattern.reflect;
using DesignPattern.test;
using DesignPattern.test.testEnum;

namespace DesignPattern {
    public class Program {
        public static void Main(string[] args){
//            new StateTest().test();
//            new SceneTest().test();
//            new SingletonTest().test();
//            new TestMediator().test();
//            new TestBridgeDemo().test();
//            new TestStrategyDemo().Test()5;

//            new MyArray().test();
//            new TestReflect().Test();
//            new MdFive().Test();
//            new HardWare().Test();
//            new MachineInfo().Test();
//         MinHeap<Int32> ageMinHeap=new MinHeap<Int32>(); 
//            
//            ageMinHeap.Enqueue(12);
//            ageMinHeap.Enqueue(23);
//            ageMinHeap.Enqueue(45);
//            ageMinHeap.Enqueue(5);
//            ageMinHeap.Enqueue(9);
//            ageMinHeap.Enqueue(10);
//            ageMinHeap.Enqueue(11);
//            ageMinHeap.Enqueue(64);
//
//            Console.WriteLine(ageMinHeap.Dequeue());
//            
//            List<int> a=new List<int>();
//            a.Add(2);
//            Console.WriteLine(a.FindIndex(i => i==3));
//            Console.WriteLine(DateTime.Now.Ticks);
//            new TestObvSub().Test();
//            new Test().Test1();
            new Test().Test2();
//            new EnumTest().Test();
        }
    }
}